/* import Vue from 'vue'
// import Router from 'vue-router'
import VueRouter from 'vue-router'
import { constantRouterMap } from '../config/'



console.log(Vue)


const routerPush = VueRouter.prototype.push
VueRouter.prototype.push = function push (location) {
  return routerPush.call(this, location).catch(error => error)
}
Vue.use(VueRouter)

export default new VueRouter({
  // mode: 'history',
  base: process.env.BASE_URL,
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRouterMap
}) */
